package rim;

import datatypes.r2.basic.CD;
import datatypes.r2.quantities.PQ;

/**
 * Definition of Access:
 * 
 * A role played by a device when the device is used to administer therapeutic
 * agents (medication and vital elements) into the body, or to drain material
 * (e.g., exudates, pus, urine, air, blood) out of the body.
 * 
 * 由一个设备时，设备使用管理进入体内治疗药物（药物和重要的元素），或排出的材料（如分泌物，脓液，尿液，空气，血液）的身体起到了一定作用。
 * 
 * 
 * UsageNotes:
 * 
 * In general, Access is a Role of a ManufacturedMaterial or Device, something
 * specifically manufactured or created to serve that purpose, such as a
 * catheter or cannula inserted into a compartment of the body. Devices in the
 * role of an Access are typically used in intake/outflow observations and in
 * medication routing instructions. Microbiologic observations on the material
 * itself or on fluids coming out of a drain are also common.
 * 
 * The Access role primarily exists in order to describe material actually
 * deployed as an access, and not so much the fresh material as it comes from
 * the manufacturer. For example, in supply ordering a box of catheters from a
 * distributor, it is not necessary to use the Access role class, since the
 * material attributes will usually suffice to describe and identify the product
 * for the order. The Access role is used to communicate about the maintenance,
 * intake/outflow, and due replacement of tubes and drains.
 * 
 * 在一般情况下，Access是一个ManufacturedMaterial或设备，一些专门制造或服务的目的，如导管或导管插入身体车厢，创建中的作用。
 * 在一个访问中的作用的设备通常用于进/流出的意见和服药的路由指令。材料本身或漏的液体上的微生物的意见也很常见。
 * 
 * 访问的作用主要是为了描述实际部署的访问，并没有这么多新鲜的材料，因为它从制造商的材料存在。例如，在从分销商订购一箱导管供应，这是没有必要使用访问角色类，
 * 由于材料属性通常会足以描述和确定产品的订单。访问的作用是用来沟通管和排水管的维修，进/流出，并且由于更换。
 * 
 * 
 * @author Obama
 * 
 */
public class Access extends Role {

	private static final long serialVersionUID = 1L;
	/**
	 * Definition: The anatomic site where the Access (cannula, line or drain)
	 * first enters the body and, if applicable, a routing from the first
	 * entrance to the target site.
	 * 
	 * 访问（套管，线或漏）第一次进入人体解剖部位，如果适用，从第一入口到目标站点的路由。
	 * 
	 * 
	 * Rationale:
	 * 
	 * Since accesses are typically placed for a considerable period of time,
	 * and since the access is used as a resource of many acts, the access
	 * approach site becomes an important identifying attribute of the access
	 * itself (as opposed to merely being an attribute of the placement
	 * procedure).
	 * 
	 * 由于访问通常被放在一个相当长的时间，因为访问是用于资源的许多行为，访问方法的网站成为一个重要识别的访问本身的属性（
	 * 而不是仅仅是在安置过程中的一个属性）。
	 * 
	 * 
	 * Examples:
	 * 
	 * An arteria pulmonalis catheter targeting a pulmonary artery, with the
	 * access approach site being the vena carotis interna at the neck, or the
	 * vena subclavia at the fossa subclavia.
	 * 
	 * 一个动脉pulmonalis的导管，肺动脉，针对在脖子上腔颈动脉际有网站的访问方法，或在窝锁骨下静脉锁骨。
	 * 
	 * 
	 * FormalConstraint:
	 * 
	 * The coding system is the same as for Procedure.approachSiteCode; indeed,
	 * the Access.approachSiteCode has been copied from the Procedure class into
	 * the Access role class. The value of the Access.approachSiteCode should be
	 * identical to the value of the Procedure.approachSiteCode of an associated
	 * access placement procedure.
	 * 
	 * 编码系统是为Procedure.approachSiteCode相同，事实上，从程序类Access.
	 * approachSiteCode复制到访问角色类
	 * 。的Access.approachSiteCode值应该是相同的价值关联的访问安置过程Procedure.approachSiteCode。
	 */
	private CD approachSiteCode;
	/**
	 * Definition: The site or body compartment into which access is being
	 * provided, (i.e., the compartment into which material is administered or
	 * from which it is collected).
	 * 
	 * 到访问该网站或身体车厢正在提供（即，管理到其中的物质或从它收集舱）
	 * 
	 * 
	 * Rationale:
	 * 
	 * Since accesses are typically placed for a considerable period of time,
	 * and since the access is used as a resource of many acts, the target site
	 * becomes an important identifying attribute of the access itself (as
	 * opposed to merely being an attribute of the placement procedure). The
	 * target site is important information that determines what kinds of
	 * substances may or may not be administered (e.g., special care to avoid
	 * medication injections into an arterial access).
	 * 
	 * 由于访问通常被放在一个相当长的时间，因为访问是用于资源的许多行为，目标网站成为一个重要识别的访问本身的属性（而不是仅仅是在安置过程中的一个属性）
	 * 。目标网站是非常重要的信息，确定什么样的物质可能会或可能不会进行管理（例如，特殊照顾，以避免药物注射到动脉访问）。
	 * 
	 * 
	 * Examples:
	 * 
	 * For a pulmonary artery catheter, the target site "arteria pulmonalis."
	 * 
	 * 肺动脉导管，目标站点“的动脉pulmonalis。”
	 * 
	 * 
	 * FormalConstraint:
	 * 
	 * The coding system is the same as for Procedure.targetSiteCode; indeed,
	 * the Access.targetSiteCode has been copied from the Procedure class into
	 * the Access role class. The value of the Access.targetSiteCode SHOULD be
	 * identical to the value of the Procedure.targetSiteCode of an associated
	 * access placement procedure.
	 * 
	 * 编码系统是为Procedure.targetSiteCode相同，事实上，从程序类Access.targetSiteCode复制到访问角色类。
	 * 的Access.targetSiteCode的价值应该是相同的价值关联的访问安置过程Procedure.targetSiteCode。
	 */
	private CD targetSiteCode;
	/**
	 * Definition: The inner diameter of the access.
	 * 
	 * 访问内径。
	 * 
	 * 
	 * Examples:
	 * 
	 * The lumen of the tube.
	 * 
	 * 该管的管腔。
	 */
	private PQ gaugeQuantity;

	public CD getApproachSiteCode() {
		return approachSiteCode;
	}

	public void setApproachSiteCode(CD approachSiteCode) {
		this.approachSiteCode = approachSiteCode;
	}

	public CD getTargetSiteCode() {
		return targetSiteCode;
	}

	public void setTargetSiteCode(CD targetSiteCode) {
		this.targetSiteCode = targetSiteCode;
	}

	public PQ getGaugeQuantity() {
		return gaugeQuantity;
	}

	public void setGaugeQuantity(PQ gaugeQuantity) {
		this.gaugeQuantity = gaugeQuantity;
	}

}
